/**
 * 
 */
package com.school.dao;

import java.util.ArrayList;

import com.school.entity.News;

/**
 * @author KK
 *
 */
public interface NewsDao {
	
	/**
	 * 
	 * @return
	 */
	public ArrayList<News> viewSchoolNews();
	
	/**
	 * 
	 * @param n
	 * @return
	 */
	public Boolean insertNews(String n);
	
	/**
	 * 
	 * @param n
	 * @return
	 */
	public Boolean deleteNews(String[] n);
	
	/**
	 * 
	 * @param code
	 * @param upnews
	 * @return
	 */
	public Boolean updateNews(String code, String upnews);

}
